package co.fitstart.admin.service;

import java.util.Date;
import java.util.List;

import com.demo2do.core.support.Page;

import co.fitstart.admin.entity.content.VisitorRecordSearch;
import co.fitstart.entity.site.Site;
import co.fitstart.entity.user.VisitorRecord;

public interface VisitorRecordService extends DataService<VisitorRecord>{
    
    /**
     * 
     * @param site
     * @param date
     * @param page
     * @return
     */
    public List<VisitorRecord> list(Site site, Date date, Page page);
    
    /**
     * 
     * @param sites
     * @param date
     * @param page
     * @return
     */
    public List<VisitorRecord> list(List<Site> sites, Date date, Page page);

    /**
     * @param visitorRecord
     */
    public void save(VisitorRecord visitorRecord);
    
    /**
     * 
     * @param search
     */
    public List<VisitorRecord> search(VisitorRecordSearch search);
}
